/**旧系统的报告类型： 关联本系统；
 * 目标：全部 最近1年内做过的 REP_TYPE。(不含分项报告110xxx，除外)，仅劳安的除外。
 * 主报告的：当前：使用最多的排序前  个的模板, 目前到： 个;
 * 三阶段目标：最近截至2023-10-16这天以内来的，一年最少出具>=1次已终结报告的，那些报告类型; 锁定候补REP_TYPE报告类型列表。20241017执行快照。
 * 前端直接改代码调试浏览器console执行临时代码模式：临时增加按钮函数。激活process.env.REACT_APP_REP_TYPE_ADDING==='true'。
 * \src\report\gas\plastics\orcBase.tsx 最后的注解，arr[]另外需提取出;
 * "闽特检测?"等的=没有做。  合计 120-2 == 118个主报告类型有做的。
 * 有部分报告类型是来自RepTypeArrSubT[]的，可能配置问题；
 * 当前=138个；
 */
export const RepTypeArr={
    '100001': 'BOIL-SA',
    "100004": "BULKIND_AJ",
    '100005': 'BOIL-NJ',
    '100006': 'BOIL-JJ',
    "100007": "ASSEMBL-JJ",
    '100008': 'BOIL-WB',
    "100010": "POWER_AJ",
    "100011": "POWER-RJJ",
    '100012': 'POWER-IN',
    '100013': 'POWER-WB',
    '100014': 'ORGAN-NJ',
    '100015': 'ORGAN-WB',
    '100018': 'BOIL-RJ',

    '120004': 'TANKER-NJ',
    '200001': 'VS-ZJ',
    "200002": "VS-RJJ",
    '200004': 'VS-NJ',
    '200005': 'VS-BZJ',
    "200006": 'ASEMBWE_AJ',
    '200007': 'VS-DJ',
    '200008': 'IMCONT-SA',
    "200010": 'SPHERIC_AJ',
    "200011": "SPHERIC-DJ",
    '200012': 'MVS-NJ',
    '200013': 'MVS-QJ',
    "200015": 'OXYGENC_AJ',
    "200016": "OXYGEN-WNJ",
    "200017": "OXYGEN-DJ",
    "200020": "SKIDMNT_ZJ",
    "230001": "STATIONU_DJ",
    '232001': 'CYLIND-ZJ',
    "290003": "COMPLTVS_WJ",

    "300003": "HYDLIC_JJ",
    "300004": "HYDLIC-DJ",
    '300005': 'SUNDR-JJ',
    '300006': 'SUNDR-DJ',
    '300007': 'WALK-JJ',
    '300008': 'ESCL-DJ',
    '300010': 'EL-JJ',
    '300011': 'EL-DJ',
    '300012': 'ROL-JJ',
    '300013': 'ROL-DJ',
    '330001': 'ELV-TS',
    "330002": "WALK-TS",
    "330004": "SUNDRI_TS",
    '390001': 'EL-WT',
    "390002": "EL-WTJJ",
    '390005': 'SAFT-EL',
    "390019": "SUNDR_WDJ",
    '390021': 'WALK-SAF',
    "390022": 'EL_SSAF',
    "390023": 'WALK_SSAF',

    "400005": "BRIERECT_JJ",
    "400006": "BRIERECT_DJ",
    '400014': 'TOWER-JJ',
    '400015': 'TOWER-DJ',
    '400017': 'MOBCR-IN',
    "400020": "GANTR-JJ",
    '400021': 'GANTR-DJ',
    "400024": "CONSTRU-JJ",
    '400035': 'PARK-JJ',
    '400036': 'PARK-DJ',
    '400037': 'CR-JJ',
    '400038': 'CR-DJ',
    "400040": "CR-SMMS",
    "400044": "CONSTRU-DJ",
    '400045': 'SINGB-IN',
    '400046': 'LIFT-DJ',
    "400047": "LIFT-JJ",
    "440015": "劳安公司",       //非本院的= “劳安设备技术”
    "450015": "闽特检测",
    "450018": "闽特检测",
    "450044": "闽特检测",
    "450019": "闽特检测",
    "490012": "MOBCR_WIN ",
    "490021": "CR-INWT",
    "490037": "CR-JJWT",

    '500003': 'FORK-DJ',
    '500004': 'TOUR-IN',
    "590003": "FORK-WTJ",
    "590006": "TOUR-INW",
    "590023": "FORK_WIN",
    "590201": "BALANCE_TT",

    '600001': 'OBSERV-DJ',
    '600002': 'OBSERV-JJ',
    "600003": "SLIDING_DJ",
    "600004": "SLIDING_JJ",
    "600005": "",       //不匹配 记录和正式
    "600006": "",
    "600007": "OVEHEAD-DJ",
    "600008": "",
    "600009": "",
    "600011": "FLIGHT-DJ",
    "600012": "",
    "600013": "",
    "600015": "AIRCRAF_DJ",
    "600016": "AIRCRAF_JJ",
    "600019": "",
    "600021": "DODGEM-DJ",
    "600022": "",
    '600023': 'WATER_DJ',
    "600024": "WATER_JJ",
    "600025": "ZIPLINE-DJ",
    "600026": "",
    "600027": "",
    "600028": "",

    '700001': 'VALV-ON',
    '700003': 'VALV-OF',
    "700004": "PRESBEAR-ZJ",
    "710001": "WATERBO_TS",
    "710002": "POWERSTM_TS",
    "710003": "ORGANICHT_TS",
    '710006': 'THMEFF-TS',
    "710014": 'VS_WNJ',
    '710018': 'VS-WD',
    "710019": 'STARTUPST_TS',
    "710029": "THERMAL_DT",
    "710031": "BPERFORM_TS",
    "710033": "ORGANICHT_NT",
    "790001": "WATERBO_WTS",
    '790006': 'THMEFF-WT',
    "790029": "THERMAL_WDT",

    '800005': 'INDPL-JJ',
    '800007': 'INDPL-DJ',
    '800008': 'INDPL-NJ',
    "800010": "LDISTAN-DJ",
    "800011": "LDISTAN-NJ",
    "800015": "UTILITY-NJ",
    '800016': 'PLASTI-QJ',
    "800017": 'POLYETH_ZJ',
    "800018": "STEELT_DJ",
    "800019": "STEEL_DJ",
    "800021": "HEATING_JJ",
    "800026": "ASSEMBLY_ZJ",
    "800027": "ARCWELD_ZJ",
    "800028": "STEELF_DJ",
    "801002": "LDISTAN-JJ",
    '801003': 'PGAS-JJ',
};

//另外 一年内有做的18条：可能算作主报告的，大多数算作是分项报告。 比如"200001" "压力容器制造监督检验" 本来就属于这里的（不少算旧平台错误配置？）。
export const RepTypeArrSub={
        "100004": "",
 }
//分项实际18条：  ，单独报告业务的 | 制造监检 | 有的是错误配置？：
export const RepTypeArrSubT=[
        "390022",
        "390023",
        "590201",
        "200020",
        "200015",
        "200010",
        "200006",
        "710014",
        "710001",
        "710002",
        "710003",
        "710033",
        "710019",
        "790001",
        "800017",
        "800026",
        "800027",
        "800028"
    ];
function repTypeToModelType(type: keyof typeof RepTypeArr) {
    return  RepTypeArr[type];
}
export default repTypeToModelType;

/* 报告类型一年都没被使用过: obsolete= [
    ]

*/
